package end.ser.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import end.dao.InitialDataDAO;
import end.ser.InitialDataSER;

/**
 * 
 * InitialDataDAO 上午10:48:34 Copyright HEXUNz Inc. All right reserved. Email :
 * alldios@outlook.com
 * 
 */
@Service("initialDataSER")
public class InitialDataSERImpl implements InitialDataSER {
	@Autowired
	private InitialDataDAO mapperDAO;

	public InitialDataDAO getMapperDAO() {
		return mapperDAO;
	}

	public void setMapperDAO(InitialDataDAO mapperDAO) {
		this.mapperDAO = mapperDAO;
	}
	@Override
	public boolean initialMainData(String initialSql) {
		return mapperDAO.initialMainData(initialSql);
	}

	@Override
	public boolean initialPermissionData(String initialSql) {
		return mapperDAO.initialPermissionData(initialSql);
	}

}
